﻿using System;
using System.ComponentModel;
using System.Web.Services;
using System.Configuration;

namespace WSOAMOBIMIDWARE
{
    /// <summary>
    /// MobileOAService 的摘要说明
    /// </summary>
    [WebService(Namespace = "http://mobileoa.well-soft.com/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [ToolboxItem(false)]
    // 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务，请取消对下行的注释。
    // [System.Web.Script.Services.ScriptService]
    public class MobileOAService : System.Web.Services.WebService
    {
        [WebMethod]
        public WSOA_Login_Response HelloWorld(string str1, string str2)
        {
            return WSOAService.helloworld(str1, str2);
        }

        [WebMethod]
        public WSOA_Login_Response WSOA_Login(WSOA_Login_Request request)
        {
            return WSOAService.Login(request);
        }

        [WebMethod]
        public WSOA_HttpGet_Response WSOA_HttpGet(WSOA_HttpGet_Request request)
        {
            return WSOAService.HttpGet(request);
        }

        [WebMethod]
        public WSOA_HttpPost_Response WSOA_HttpPost(WSOA_HttpPost_Request request)
        {
            return WSOAService.HttpPost(request);
        }

        [WebMethod]
        public WSOA_DownloadUnit_Response WSOA_DownloadUnit(WSOA_DownloadUnit_Request request)
        {
            return WSOAService.DownloadUnit(request);
        }

        [WebMethod]
        public WSOA_DownloadOpinion_Response WSOA_DownloadOpinion(WSOA_DownloadOpinion_Request request)
        {
            return WSOAService.DownloadOpinion(request);
        }

        [WebMethod]
        public WSOA_DownloadFile_Response WSOA_DownloadFile(WSOA_DownloadFile_Request request)
        {
            return WSOAService.DownloadFile(request);
        }

        [WebMethod]
        public WSOA_AddressProcess_Response WSOA_AddressProcess(WSOA_AddressProcess_Request request)
        {
            return WSOAService.AddressProcess(request);
        }

        [WebMethod]
        public WSOA_AppointmentProcess_Response WSOA_AppointmentProcess(WSOA_AppointmentProcess_Request request)
        {
            return WSOAService.AppointmentProcess(request);
        }

        [WebMethod]
        public WSOA_PushNotification_Response WSOA_PushNotification(WSOA_PushNotification_Request request)
        {
            return WSOAService.WSOA_PushNotification(request);
        }
    }
}
